package com.cloud.music.dto.netease;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PlaylistNameUpdate {

    /**
     * 歌单id
     */
    @NotBlank(message = "歌单id不能为空")
    private String id;

    /**
     * 歌单名
     */
    @NotBlank(message = "歌单名不能为空")
    private String name;
}
